package com.zl.easybuy.service;

import com.zl.easybuy.exception.EasyBuyException;
import com.zl.easybuy.pojo.Order;

public interface CartService {
    boolean addCart(Integer entityId, Integer quantity) throws EasyBuyException;

    boolean modifyCart(Integer entityId, Integer quantity) throws EasyBuyException;

    Order settlementCart(Integer addressId, String newAddress, String newRemark) throws EasyBuyException;
}
